2005-12-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkdnd.c (gtk_drag_set_icon_name): Warn if the icon
cannot be loaded. (#323504, Kjartan Maraas)
2005-12-14 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkdnd.c (gtk_drag_set_icon_name): Warn if the icon
+ cannot be loaded. (#323504, Kjartan Maraas)
+
* gtk/gtktreeview.c (gtk_tree_view_class_init): Add docs
for the row-activated signal. (#324044, Davyd Madeley)
2005-12-14 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkdnd.c (gtk_drag_set_icon_name): Warn if the icon
+ cannot be loaded. (#323504, Kjartan Maraas)
+
* gtk/gtktreeview.c (gtk_tree_view_class_init): Add docs
for the row-activated signal. (#324044, Davyd Madeley)
pixbuf = gtk_icon_theme_load_icon (icon_theme, icon_name,
icon_size, 0, NULL);
- set_icon_stock_pixbuf (context, NULL, pixbuf, hot_x, hot_y, FALSE);
+ if (pixbuf)
+ set_icon_stock_pixbuf (context, NULL, pixbuf, hot_x, hot_y, FALSE);
+ else
+ g_warning ("Cannot load drag icon from icon name %s", icon_name);
}
/**